//
//  XMPPConfig.h
//  LTChat
//
//  Created by apple on 4/9/14.
//  Copyright (c) 2014 fantasy. All rights reserved.
//

#import <Foundation/Foundation.h>

#define XMPPUSERID @"KxmppJID"
#define XMPPPASS @"KxmppPASS"
#define XMPPSERVER @"kxmppServer"

static NSString *xmppJIDHost;
static NSString *xmppJIDPort;

//static NSString *servername = @"fengxijuns-macbook-pro.local";
//static NSString *servername = @"appledemac-mini-3.local";
static NSString *servername = @"61.188.177.231";

@interface XMPPConfig : NSObject
-(id)initWithConfigFile:(NSString *)file;
-(id)initWithHost:(NSString *)hostname port:(UInt16)port;
@property (nonatomic,readonly)NSString *hostname;
@property (nonatomic)UInt16 port;
@end
